Merge pull request #140 from liangzan/master

method name mistake

Andrew Cantino %!s(int64=10) %!d(string=hace) años
padre
commit
0f0923c80a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/models/agents/webhook_agent.rb

+ 1 - 1
app/models/agents/webhook_agent.rb

@@ -46,7 +46,7 @@ module Agents
46 46
     end
47 47
 
48 48
     def working?
49
-      event_created_within(options['expected_receive_period_in_days']) && !recent_error_logs?
49
+      event_created_within?(options['expected_receive_period_in_days']) && !recent_error_logs?
50 50
     end
51 51
 
52 52
     def validate_options